!function (e, $, mui) {
    "use strict";
	
	var config = {
	};
	// 定义页面
	var p = function(config) {
		var t = this;
		t.config = config;
		t.userInfo = null;
		t.element = {
			title: $('.post-title'),
			content: $('.post-content')
		};
		t.init();
	};
	
	var pt = p.prototype;
	
	// 页面初始化
	pt.init = function () {
		var t = this;
		t.userInit();
		t.pageLoad();
	};
	
	// 用户信息初始化
	pt.userInit = function() {
		var t = this;
		t.userInfo = getLocalUserInfo();
	};
	
	// 页面加载
	pt.pageLoad = function () {
		var t = this;
		baseApi.get(
			'service/guideInfo',
			{id: getQueryString('id')},
			function (result) {
				t.element.title.html(result.post_title);
				t.element.content.html(result.post_content);
			}
		);
	}
	
	// 页面初始化
	e.page = new p(config);

}(window, $, mui);